import { createStore } from 'vuex'

export default createStore({
  state: {
    status:1,//保存角色的type
  },
  getters: {
  },
  mutations: {
    roles(state,type){
        state.status = type

    }
  },
  actions: {
  },
  modules: {
  }
})
